package com.yunxin.core.domain.model.channel;

/**
 * @author zero°
 * @since 2023-07-12
 */
public interface ChannelTypeRepository {

    /**
     * 保存
     * @param channelType channelType
     * @return boolean
     */
    boolean saveChannelType(ChannelType channelType);

    /**
     * 更新
     * @param channelType channelType
     * @return boolean
     */
    boolean updateChannelType(ChannelType channelType);

    /**
     * 根据id查询
     * @param id id
     * @return ChannelType
     */
    ChannelType getChannelTypeById(Long id);
}
